export const getImg = (imgName) => {
  let url = ''
  // #ifndef MP-WEIXIN
  url = new URL(`/src/static/image/${imgName}`, import.meta.url).href

  // #endif

  // #ifdef MP-WEIXIN
  url = `/static/image/${imgName}`
  // #endif

  return url
}
